import request from './request'

// 获取用户列表
export const getadminlist = (params) => {
  return request({
    url: '/getadminlist',
    method: 'GET',
    params
  })
}

// 新添/修改用户信息
export const setadmininfo = (data) => {
  return request({
    url: '/setadmininfo',
    method: 'POST',
    data
  })
}

// 删除用户信息
export const deladmininfo = (data) => {
  return request({
    url: '/deladmininfo',
    method: 'POST',
    data
  })
}
